<div class="btn-toolbar top-table div1" role="toolbar">
	<div class="btn-group groups">
	     <span type="button" class="btn btn-danger">请假详情表</span>
	</div>
	<div class="btn-group groups">
	      <span type="button" class="btn btn-success" ><a style="color:white;font-weight:bold" href="__URL__">返回请假列表</a></span>
	</div>
</div>
<div class="the-box no-border store-list">							
	<div class="media">
		<div class="clearfix visible-xs"></div>
		<div class="media-body">		                              
			<h3 class="media-heading">
				<a href="#fakelink">
					<strong>【{$detail.type_name}】</strong>
					<span class="label label-info pull-right">请假编号{$detail.leave_id}</span>
				</a>
			</h3>
			<ul class="list-inline">
				<li><a>请假人　</a></li>
				<li style="list-style: none">|</li>
				<li>{$detail.audience_name}</li>
			</ul>
			<ul class="list-inline">
				<li><a>请假事由</a></li>
				<li style="list-style: none">|</li>
				<li class="newline">
					<!-- <span class="label label-danger newline"> -->
						{$detail['leave_reason']?$detail['leave_reason']:"暂无"}
					<!-- </span> -->
				</li>
			</ul>
			<ul class="list-inline">
				<li><a href="#fakelink">开始时间</a></li>
				<li style="list-style: none">|</li>
				<li>{$detail.leave_startTime|date="Y-m-d H:i:s",###}</li>
			</ul>
			<ul class="list-inline">
				<li><a href="#fakelink">结束时间</a></li>
				<li style="list-style: none">|</li>
				<li>{$detail.leave_endTime|date="Y-m-d H:i:s",###}</li>
			</ul>
			<ul class="list-inline">
				<li><a href="#fakelink">请假天数</a></li>
				<li style="list-style: none">|</li>
				<li>{$detail.leave_days}</li>
			</ul>
			<ul class="list-inline">
				<li><a href="#fakelink">需要证明</a></li>
				<li style="list-style: none">|</li>
				<li>{$detail['type_prove']==0?"否":"是"}</li>
			</ul>
			<ul class="list-inline">
				<li><a href="#fakelink">证明附件</a></li>
				<li style="list-style: none">|</li>
				<li>{$detail.prove_image_path}</li>
			</ul>
			<ul class="list-inline">
				<li><a href="#fakelink">审批情况:</a></li>
				<if condition="$leave_log eq null">
				<span class="delete label label-success">审批中...</span>
				<else/>							
				<foreach name="leave_log" item="log">
                       	<div>
		                       <span class="delete label label-danger">{$log['leave_state']}</span>
						<span id="{$value.department_id}" class="label label-success">【操作人】:</span>
						<span id="{$value.department_id}" class="label label-success">{$log.audience_name}</span>
						<span id="{$value.department_id}" class="label label-success">{$log.time_update|date="Y-m-d H:i:s",###}</span>
					</div>
				</foreach>
				</if>				
			</ul>
		</div>
	</div>		                        	
</div>

